import { createStore } from "vuex";

export default createStore({
  state: {
    //监控面板
    list_status_layer: {
      list_icon: false,
      list_panel: true,
    },
  },
  getters: {},
  mutations: {
    LIST_STATUS_LAYER(state, v) {
      const { list_icon, list_panel } = v;
      state.list_status_layer.list_icon = list_icon;
      state.list_status_layer.list_panel = list_panel;
    }
  },
});
